﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FriendLinkSet.aspx.cs" Inherits="CMS_Admin_block_FriendLinkSet" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <title>友情链接明细</title>
    <style>
        body
        {
            font-size: 13px;
        }
        .tb td
        {
            border: #fff solid 1px;
            font-size: 13px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px;">
        <table border="0" align="center" cellpadding="0" cellspacing="0" id="RightBox">
            <tr>
                <td valign="top">
                    <table width="600px" border="0" cellspacing="0" cellpadding="0">
                        <tr class="formcontenttitle">
                            <td width="150" height="27" class="bar">
                                <h3>
                                    友情链接明细</h3>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr class="formcontentlist">
                            <td height="27" class="padleft5px" width="120px">
                                名称：
                            </td>
                            <td class="padleft5px">
                                <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="名称不得为空"
                                    ControlToValidate="txtName"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr class="formcontentlist">
                            <td height="27" class="padleft5px">
                                地址：
                            </td>
                            <td class="padleft5px">
                                <asp:TextBox ID="txtUrl" runat="server" Width="100%">http://</asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="地址不得为空"
                                    ControlToValidate="txtUrl"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Button ID="add" runat="server" Text="添加" OnClick="add_Click" OnClientClick="return confirm('确认？')" />
                                <asp:Button ID="save" runat="server" Text="修改" OnClick="save_Click" OnClientClick="return confirm('确认？')"
                                    Width="100px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
        <div style="text-align:center">
    <br />
        <input id="this_close" type="button" value="关闭本窗口" onclick="opener.location.reload();window.close()"/>
    </div>
    </form>
</body>
</html>
